 /**
 * Description: 系统角色数据访问接口
 * Copyright:Copyright 2018 nfky.com. All rights reserved
 * @author:xk
 * @since:0.0.1
 * Create at:2018-01-10 下午 19:40:19
 *  
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-01-10   xk       0.0.1     Initial
 */
package com.metro.paperless.sys.mapper;

import com.metro.core.dao.IMapper;
import com.metro.paperless.sys.beans.vo.SysRole;

import java.util.List;

 /**
 * 系统角色数据访问接口<br>
 *
 * @author xk
 * @since [0.0.1]
 * @version [0.0.1, 2018-01-10]
 */
public interface ISysRoleMapper extends IMapper<SysRole>{
     /**
      * 根据用户id获取用户所拥有的角色列表
      * @param userId
      * @return
      */
     List<SysRole> queryRoleByUserId(Long userId);
}
